package mju.cxf.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import mju.cxf.dto.MemberDTO;
import mju.cxf.entity.Member;
import mju.cxf.vo.MemberVO;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author 郑献
 * @since 2024-10-23
 */

public interface MemberService extends IService<Member> {
    Page<MemberVO> selectPage(Integer grade, int current, int size);

    boolean saveMember(MemberDTO memberDTO);

    boolean updateMember(MemberDTO memberDTO);

    boolean deleteMember(Integer id);
}
